package com.fauks.ssm.springmvc.xml;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * BeanNameViewResolve
 */
public class _04ViewController implements Controller {

    @Override
    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {
        //直接使用配置文件中视图View的id
        return new ModelAndView("jstlView");
    }
}
